﻿@model CVsharp.Models.Entities.sysChangeLog
@{
    //Layout = "~/Views/Shared/_LayoutSimple.cshtml";
}
@{
    ViewBag.Title = "Edit";
}
<div id="ChangeLogEdit">
<h2>Edit</h2>
@using (Ajax.BeginForm(new AjaxOptions { UpdateTargetId = "ChangeLogEdit", HttpMethod = "POST", InsertionMode = InsertionMode.Replace }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>sysChangeLog</legend>

        @Html.HiddenFor(model => model.ChangeLogID)

        <div class="editor-label">
            @Html.LabelFor(model => model.ChangeContent)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.ChangeContent, new {@style = "width:500px;height:350px" })
            @Html.ValidationMessageFor(model => model.ChangeContent)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GreateTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GreateTime)
            @Html.ValidationMessageFor(model => model.GreateTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Version)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Version)
            @Html.ValidationMessageFor(model => model.Version)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
</div>